package charles.testproject.JavaPuzzle28;

public class JavaPuzzle28 {
	public static void main(String[] args) {

//		double i = 2.0/0.0;
//		double i = Double.NEGATIVE_INFINITY;
//		double i = Double.POSITIVE_INFINITY;
		
		double i = 1.0e40;
		
		System.out.println(i);
		
		while(i == i + 1) {
			System.out.println("infinite");
		}
		
	}
}
